package com.molichuxing.gateway.bff.car.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 事故信息实体
 * </p>
 *
 * @author xuelin yi
 * @since 2019-09-04
 */
@Data
public class AccidentDetailVo extends ResponseRootDto {

    @ApiModelProperty(value = "事故主键")
    private Integer id;

    @ApiModelProperty(value = "事故编号")
    private String code;


    @ApiModelProperty(value = "事故乐观锁标识")
    private Integer accidentVersion;

    @ApiModelProperty(value = "结案乐观锁标识")
    private Integer caseVersion;

    @ApiModelProperty(value = "状态流转")
    private Map<Integer, AccidentStatusVo> status;

    @ApiModelProperty(value = "事故车辆用户信息")
    private AccidentCarUserVo accidentCarUserVo;

    @ApiModelProperty(value = "事故信息")
    private AccidentInfoVo accidentInfoVo;

    @ApiModelProperty(value = "事故图片")
    private List<AccidentImageVo> accidentImageList;

    @ApiModelProperty(value = "结案图片")
    private List<AccidentImageVo> caseImageList;

    @ApiModelProperty(value = "案件提交信息")
    private AccidentCommitVo commit;
}
